package com.woniuxy.his.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.his.entity.Medicine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.his.vo.AccountMedicineVo;
import com.woniuxy.his.vo.AllMedicine;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-25
 */
public interface IMedicineService extends IService<Medicine> {

    IPage<Medicine> findMedicineLikeName(String productName, Integer current, Integer pageSize);

    //项目划价后,传递项目信息,写入检查表和检查详情表
    public Integer accountMedicine(AccountMedicineVo accountMedicineVo);

    //获取药品库所有的数据信息
    public IPage getAllMedicine(int current,int pageSize);


}
